04. Notebook + Quiz: Building Confidence Intervals

Confidence Intervals for the Population Mean

In the previous video, you saw how we could build a confidence interval for the population mean. To get some practice, you will do the same process to create a confidence interval for the population mean height of non-coffee drinkers. Additionally, there are some quiz questions available below the python notebook to assure your results are accurate.

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: jupyter
  • Opened files (when workspace is loaded): n/a

QUIZ QUESTION: :

Question 1

Use the results for the first two questions to match the following descriptions to the correct values.

ANSWER CHOICES:



Description

Value

0.595

67.58

0.405

66.78

0.400

68.12

0.600

SOLUTION:

Description

Value

0.595

0.405

66.78

68.12

Did the proportion of coffee drinkers in your bootstrap sample exactly match the proportion in the original sample?

SOLUTION: No

QUIZ QUESTION: :

Question 3

Use your answers to the final questions in the notebook to match each value to its corresponding description.

ANSWER CHOICES:



Description

Value

66.44

No

Yes

65.99

Yes

67.58

No

SOLUTION:

Description

Value

66.44

No

Yes

65.99

Yes

67.58

No

What percentage would we cut off of each tail if we wanted to build a 98% confidence interval?

SOLUTION: 1%